package com.shop.order.server.vo;

import javax.validation.constraints.NotNull;

import lombok.Data;

/**
 * Created with IntelliJ IDEA.
 * User: dpengpeng
 * Date: 2018/5/19
 * Time: 11:35
 * Description:
 */
@Data
public class OrderCreateVo {

    @NotNull(message = "姓名不能为空")
    private String name;

    @NotNull(message = "电话不能为空")
    private String phone;

    @NotNull(message = "地址不能为空")
    private String address;

    @NotNull(message = "openid不能为空")
    private String openid;

    @NotNull(message = "商品不能为空")
    private String items;


}
